Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: Re-set instantiate to True when constant is True #771

Merged
merged 2 commits into from
Jun 22, 2023

Conversation

maximlt
Copy link
Member

@maximlt maximlt commented Jun 22, 2023

Another evidence that it's quite easy to break Param despite its own test suite and the test suite of other packages heavily relying on it. This PR fixes a regression introduced in #605, whereby setting constant to True was no longer automatically setting instantiate to True. I've added tests that would have passed on Param 1.13.0.

@jbednar
Copy link
Member

jbednar commented Jun 22, 2023

The change looks good, thanks for catching it.

@maximlt maximlt merged commit 76086ef into main Jun 22, 2023
@maximlt maximlt deleted the fix_constant_instantiate branch June 22, 2023 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants